package com.toommi.refuse.enums;

/**
 * ..
 * 投放记录 异常信息枚举
 *
 * @author yangg
 * @since 2019-08-01 11:08
 */
public enum RecycleRecordExceptionEnum {


    /**
     * 基本参数格式校验及真实性校验异常信息
     */
    INVALID_REFUSE_TYPE_NULL(4001, "分类信息错误"),

    INVALID_SUBREFUSE_TYPE_NULL(4002, "二级分类信息错误"),

    INVALID_WEIGHT_FORMAT(4003, "重量必须大于0"),

    INVALID_MONEY_FORMAT(4004, "价格必须大于0"),

    INVALID_APPUSER_NULL(4005, "操作员信息错误"),

    INVALID_HOUSEHOLDCODE_EMPTY(4006, "户号信息不能为空"),

    INVALID_HOUSEHOLDCODE_NULL(4007, "户号信息不存在"),

    INVALID_PAYSTATUS(4008, "支付状态信息错误"),

    INVALID_RECORD_NULL(4009, "该回收记录不存在"),

    INVALID_STATUS(4010, "正确性状态标识错误"),

    INVALID_QUERY_TIME(4011,"暂不支持跨月份查询"),

    INVALID_PRICE_NULL(4012,"该小区尚未设置回收价格"),


    END(9999, "END");

    private int code;

    private String message;

    public int getCode() {
        return code;
    }

    RecycleRecordExceptionEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }}
